package com.blueocean_health.care.management.domain.dto;

import com.blueocean_health.care.management.common.base.string.StringUtils;
import com.blueocean_health.care.management.em.WorkStatusNewEnum;

/**
 * 护工列表
 * 
 * @author wuyanli 2017年10月20日14:53:29
 */
public class NurseWorkerListDto {

	private String workerId;

	private String workerName;

	private String sexName;

	private String phone;

	private String nativePlaceName;

	private Integer workStatus;

	private String workStatusName;

	private Integer sex;

	private String avatarPhotoUrl;

	public String getSexName() {
		return sexName;
	}

	public void setSexName(String sexName) {
		this.sexName = sexName;
	}

	public String getAvatarPhotoUrl() {
		return avatarPhotoUrl;
	}

	public void setAvatarPhotoUrl(String avatarPhotoUrl) {
		this.avatarPhotoUrl = avatarPhotoUrl;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getWorkerId() {
		return workerId;
	}

	public Integer getWorkStatus() {
		return workStatus;
	}

	public void setWorkStatus(Integer workStatus) {
		this.workStatus = workStatus;
		if (!StringUtils.isEmpty(workStatus)) {
			this.setWorkStatusName(WorkStatusNewEnum.valueOf("_" + workStatus).getVal());
		}
	}

	public void setWorkerId(String workerId) {
		this.workerId = workerId;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getNativePlaceName() {
		return nativePlaceName;
	}

	public void setNativePlaceName(String nativePlaceName) {
		this.nativePlaceName = nativePlaceName;
	}

	public String getWorkStatusName() {
		return workStatusName;
	}

	public void setWorkStatusName(String workStatusName) {
		this.workStatusName = workStatusName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Override
	public String toString() {
		return "NurseWorkerListDto [workerId=" + workerId + ", workerName=" + workerName + ", workStatusName="
				+ workStatusName + ", phone=" + phone + "]";
	}

}
